//
//  GDHPanelBottomView.h
//  GDHChatKeyBoard
//
//  Created by 高得华 on 2017/10/12.
//  Copyright © 2017年 高得华. All rights reserved.
//

#import <UIKit/UIKit.h>

/** *  可以定制，控件只是为了演示，（原因是缺少图片） */

typedef void(^ADDACTIONBLOCK)(void);
typedef void(^SETACTIONBLOCK)(void);

@class GDHPanelBottomView;

@protocol GDHPanelBottomViewDelegate <NSObject>

@optional
- (void)panelBottomView:(GDHPanelBottomView*)panelBottomView didPickerFaceSubjectIndex:(NSInteger)faceSubjectIndex;
- (void)panelBottomViewSendAction:(GDHPanelBottomView*)panelBottomView;

@end



@interface GDHPanelBottomView : UIView

@property (nonatomic, weak) id<GDHPanelBottomViewDelegate> delegate;

@property (nonatomic, copy) ADDACTIONBLOCK addAction;
@property (nonatomic, copy) SETACTIONBLOCK setAction;

- (void)loadfaceThemePickerSource:(NSArray *)pickerSource;
- (void)changeFaceSubjectIndex:(NSInteger)subjectIndex;

@end
